package com.atguigu.yygh.hosp.mapper;

import com.atguigu.yygh.model.hosp.HospitalSet;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

public interface HospitalSetMapper extends BaseMapper<HospitalSet> {
//Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.atguigu.yygh.hosp.mapper.HospitalSetMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
    //mapper 接口 实现类 动态创建出来 启动时无法被扫描到
    // 需要@MapperScan("com.atguigu.yygh.hosp.mapper") 在启动类上
    // 或 @MapperScan("com.atguigu.yygh.hosp.mapper") 在 config中
}
